package com.lysj.print.print.service;

import com.lysj.admin.utils.spring.foundation.base.BaseService;
import com.lysj.print.print.domain.Printer;
import com.lysj.print.print.repository.PrinterRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import javax.annotation.Resource;

/**
 * @author Created by drj on 2019-03-15 16:40:54
 * @description 打印机服务层
 */
@Slf4j
@Service
@Transactional
public class PrinterService implements BaseService<Printer> {

    @Resource
    private PrinterRepository printerRepository;

    @Override
    public PrinterRepository getRepository() {
        return printerRepository;
    }
}